package com.zlf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName SleuthZipkinProducer01Application
 * @Description TODO
 * @Author zlf
 * @Date 2021/5/22 12:32
 */
@SpringBootApplication
public class SleuthZipkinServer01Application {

    public static void main(String[] args) {
        SpringApplication.run(SleuthZipkinServer01Application.class, args);
    }

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
